package com.dwj.auto.comment.dao.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dwj.auto.comment.config.mybatis.plus.CommonMapper;
import com.dwj.auto.comment.dao.entity.Student;
import com.dwj.auto.comment.model.req.StuSearchCriteria;
import com.dwj.auto.comment.model.req.StudentCriteria;
import com.dwj.auto.comment.model.vo.StudentSearchVo;
import com.dwj.auto.comment.model.vo.StudentVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dwjian
 * @since 2020-01-13
 */
public interface StudentMapper extends CommonMapper<Student> {

    IPage<StudentVo> getList(IPage<StudentVo> page, @Param("criteria") StudentCriteria criteria);

    IPage<StudentSearchVo> searchList(IPage<StudentSearchVo> page, @Param("criteria") StuSearchCriteria criteria);
}
